<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改商户结算账户')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-accounts-edit" th:object="${accounts}">
            <input name="daMarker" th:field="*{daMarker}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">编号标识：</label>
                <div class="col-sm-8">
                    <input name="daMarker" th:field="*{daMarker}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">账户类型 ：</label>
                <div class="col-sm-8">
                    <input name="nature" th:field="*{nature}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">底图：</label>
                <div class="col-sm-8">
                    <input name="bottomPic" th:field="*{bottomPic}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">添加时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="createdate" th:value="${#dates.format(accounts.createdate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <input name="note" th:field="*{note}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">起始结算金额：</label>
                <div class="col-sm-8">
                    <input name="acmoney" th:field="*{acmoney}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">预留手机号：</label>
                <div class="col-sm-8">
                    <input name="resphone" th:field="*{resphone}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">结算周期 0:D0 1:T1：</label>
                <div class="col-sm-8">
                    <input name="settleCycle" th:field="*{settleCycle}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">总行名称：</label>
                <div class="col-sm-8">
                    <input name="bankHeadname" th:field="*{bankHeadname}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">账户开户地(省市代号)：</label>
                <div class="col-sm-8">
                    <input name="bankAddress" th:field="*{bankAddress}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">结算人身份证号(对私必填)：</label>
                <div class="col-sm-8">
                    <input name="screenIdnum" th:field="*{screenIdnum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">展示身份证号：</label>
                <div class="col-sm-8">
                    <input name="showScreenidnum" th:field="*{showScreenidnum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">展示手机号：</label>
                <div class="col-sm-8">
                    <input name="showResphone" th:field="*{showResphone}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">展示结算账户号：</label>
                <div class="col-sm-8">
                    <input name="showScreennum" th:field="*{showScreennum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">用户识别卡logo标识：</label>
                <div class="col-sm-8">
                    <input name="picno" th:field="*{picno}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">省市名称，英文逗号隔开：</label>
                <div class="col-sm-8">
                    <input name="areaName" th:field="*{areaName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">对应(服务商、商户)编号：</label>
                <div class="col-sm-8">
                    <input name="seqId" th:field="*{seqId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">支付系统行号：</label>
                <div class="col-sm-8">
                    <input name="bankNum" th:field="*{bankNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">开户行账号：</label>
                <div class="col-sm-8">
                    <input name="screenNum" th:field="*{screenNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">开户人名称：</label>
                <div class="col-sm-8">
                    <input name="screenName" th:field="*{screenName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">开户行名称[账户所属支行]：</label>
                <div class="col-sm-8">
                    <input name="bankName" th:field="*{bankName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">添加人：</label>
                <div class="col-sm-8">
                    <input name="createman" th:field="*{createman}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script th:inline="javascript">
        var prefix = ctx + "accounts/accounts";
        $("#form-accounts-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-accounts-edit').serialize());
            }
        }

        $("input[name='createdate']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>